Fix HVM shutdown when xend is restarted.
authorEwan Mellor <ewan@xensource.com>
Thu, 30 Nov 2006 18:08:34 +0000 (18:08 +0000)
committerEwan Mellor <ewan@xensource.com>
Thu, 30 Nov 2006 18:08:34 +0000 (18:08 +0000)
commit69f4bf70a085c6e395a73e71c0e70cec43d7a1a6
tree58fd078c8cb6650405e46de915ef03f4a507a1fd
parent9523b514697fe78558f4a840f91e6a497936629f
Fix HVM shutdown when xend is restarted.

Added a recreate call to ImageHandler, allowing the subclasses of that to
hook into the code that runs when xend restarts.  This allows us in particular
to reregister the watches for HVM shutdown, and read the PID of qemu-dm from
the store.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendConstants.py
tools/python/xen/xend/XendDomain.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/image.py